public class Data1 {
    public int year;
    public int month;
    public int day;

    public void printData(){
        System.out.println(this.year+"年"+this.month+"月"+this.day+"日");
    }

    public static void main(String[] args) {
        Data data2 = new Data();
        data2.printData();
    }
}
